package Javatest2.iftest;

import java.util.Scanner;

public class test6 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("今年是哪一年");
        int r = scanner.nextInt();
        if ((r%4==0&&r%100!=0) || (r%400==0)){
            System.out.println("今年是闰年");
        }
        else {
            System.out.println("今年不是闰年");
        }

    }
}
